<?php 
global $global_images_route,$global_common_route,$default_image_news;
$css .= '<link rel="stylesheet" href="'.$global_common_route.'/smoothgallery/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />';
$script = '<script src="'.$global_common_route.'/smoothgallery/scripts/mootools-1.2.1-core-yc.js" type="text/javascript"></script>';
$script .= '<script src="'.$global_common_route.'/smoothgallery/scripts/mootools-1.2-more.js" type="text/javascript"></script>';
$script .= '<script src="'.$global_common_route.'/smoothgallery/scripts/jd.gallery.js" type="text/javascript"></script>';
?>
<?=inc_web ( $GLOBALS ['nhead'],$css,$script );?>
<style type="text/css">
  .scrollAd { width:500px; height:207px; margin-bottom:13px;}
	.mo-blo-red { margin-top:13px;}
	.mo-tabBlue .bd { height:200px; overflow:hidden;}
	.mo-bloColor-cpu,.mo-bloColor-music,.mo-bloColor-phone,.mo-bloColor-digit,.mo-bloColor-game { margin-bottom:20px;}
	.ad-full { margin-bottom:10px;}
	.ad-single { margin-bottom:10px;}
	.picBox { width:212px;}
	.ad-full { margin:0 auto; width:950px; margin-bottom:10px;}
	.subNav { margin-top:-10px; position:relative;}
  </style>
   <script type="text/javascript">
 
	  function startGallery() {
			var myGallery = new gallery($('myGallery'), {
				timed: true
			});
		}
	  window.addEvent('domready',startGallery);
</script>
<div class="mainFloor clearfix">
    	<div class="mf_main">
      	<div class="mf_m_main">
        	<div class="scrollAd"  id="myGallery">
        		<div class="imageElement">
					<h3>Item 1 Title</h3>
					<p>Item 1 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/1.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/1-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 2 Title</h3>
					<p>Item 2 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/2.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/2-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 3 Title</h3>
					<p>Item 3 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/3.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/3-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 4 Title</h3>
					<p>Item 4 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/4.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/4-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 5 Title</h3>
					<p>Item 5 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/5.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/5-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 6 Title</h3>
					<p>Item 6 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/6.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/6-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 7 Title</h3>
					<p>Item 7 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/7.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/7-mini.jpg" class="thumbnail" />
				</div>
				<div class="imageElement">
					<h3>Item 8 Title</h3>
					<p>Item 8 Description</p>
					<a href="#" title="open image" class="open"></a>
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/8.jpg" class="full" />
					<img src="<?=$global_common_route?>/smoothgallery/images/brugges2006/8-mini.jpg" class="thumbnail" />
				</div></div>
        </div>
        <div class="mf_m_extra">
          <div class="subNav">
            <div class=" tit"><a href="#">全部分类</a></div>
            <ul class="list">
              <li><a href="#">手机通信<i></i></a></li>
              <li><a href="#">影音器材<i></i></a></li>
              <li><a href="#">电玩游戏<i></i></a></li>
              <li><a href="#">数码产品<i></i></a></li>
              <li><a href="#">电脑&amp;外设<i></i></a></li>
            </ul>
          </div>
        </div>
          <?php foreach ( $result as $key=>$row ) : ?>
        <!--手机 S-->
        <div class="clearfix mo-bloColor-<?=$key?> clr">
      	<div class="mo-titColorful">
        	<h2 class="tit"><i class=" t-<?=$key+1?>"></i></h2>
          <div class=" colorTab colorTab-<?=$key?>">
          	<a href="#" class="on"><b>全部</b></a>
            <a href="#"><b>手机</b></a>
            <a href="#"><b>手机配件</b></a>
          </div>
        </div>
           <?php foreach ( $row ['data'] as $item ) :?>
        <a href="<?=ii_iurl('detail', $item  [$nidfield])?>" class="picBox">
        	<div class="pic">
          	<img src="<?=$item[ii_cfname ( 'image' )]?>"  width="210">
            <p class="tit"><?=$item[ii_cfname ( 'topic' )]?></p>
          </div>
          <ul class="list">
          	<li><label>店内装修：</label><span class="evaluateBox evaluateBox-3"></span></li>
            <li><label>服务态度：</label><span class="evaluateBox evaluateBox-4"></span></li>
            <li><label>商品价格：</label><span class="evaluateBox evaluateBox-5"></span></li>
            <li><label>简介：</label><?=trim(ii_left(strip_tags($item[ii_cfname ( 'content' )]),80))?>
</li>
          </ul>
        </a>
          <?php endforeach;?>
        </div>
        <!--手机 E-->
        <?php endforeach;?>
      </div>
      <div class="mf_extra">
      <?=inc_web("shopspeciallist")?>
        
        <div class="ad-single">
        	<a href="#"><img src="<?=$global_images_route?>img/ad-extra-2.png"></a>
          <div class="mo-adPage"><a href="#" class="pre"></a><a href="#" class="next"></a></div>
        </div>
      <?=inc_web("shopnews")?>
       <?=inc_web("shoppingguide")?>
			
          <div class=" mo-blo mo-blo-white">
            <div class="bd h61">
            	<p>请问对新改版的海印广场网站是否满意？</p>
              <label><input type="radio" name="name1" checked>满意</label>
              <label><input type="radio" name="name1">一般</label>
              <label><input type="radio" name="name1">不满意</label>
            </div>
          </div>
      </div>
    </div>
<?=mm_web_foot ( $GLOBALS ['nfoot'] )?>